extend ../layout
block append css
    link(rel="stylesheet" href="/duimen/css/posts.css")
block content
    include ../includes/_head
    textarea.noadmin-posts
    .sendimg.clearfix
        ul
            li
        form#uploadForm
            //  必须要有name属性
        a(href="javascript:;")
            input#filechooser(type="file" name="file")
        span.upload-text(style="display:none") 添加照片
    button.send-post 发布
block append js
    script(src="/duimen/js/ajaxfileupload.js")
    script(src="/duimen/js/alertBox.js")
    script(src="/duimen/js/publish.js")